package com.lj.dao;

import com.lj.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author lj
 * @Description: UserRepository
 * @date 2020-10-02 12:29
 * @QQ 851477108
 */
public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username, String password);
}
